package com.wicket.okrbff.biz.service.dto.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc BffTaskStatusDto
 * @使用场景
 */
@Data
public class BffTaskStatusDto implements Serializable {

  /**
   * 进展状态标识
   */
  @ApiModelProperty("进展状态标识")
  private String taskStatusCode;

  /**
   * 进展状态名称
   */
  @ApiModelProperty("进展状态名称")
  private String taskStatusName;

  /**
   * 是否收起
   */
  @ApiModelProperty("是否收起")
  private String isRetract;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BffTaskStatusDto that = (BffTaskStatusDto) o;
      return  taskStatusCode == that.taskStatusCode&&taskStatusName == that.taskStatusName&&isRetract == that.isRetract;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), taskStatusCode,taskStatusName,isRetract);
    }

}
